package com.epalmpay.service.management;

import java.util.List;

import com.epalmpay.entity.Button;

public interface IButtonService {
	
	

	/**通过用户名查询按钮名称
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Button> listButtonsName(String  userName) throws Exception;
	
	
	/**
	 * 查询所有的按钮名称
	 * @return
	 * @throws Exception
	 */
	public List<Button> AlllistButtonsName() throws Exception;
	
	
	/**新增
	 * @param pd
	 * @throws Exception
	 */
	public void save(Button pd)throws Exception;
	
	/**删除
	 * @param pd
	 * @throws Exception
	 */
	public void delete(String fhbuttonId)throws Exception;
	
	/**修改
	 * @param pd
	 * @throws Exception
	 */
	public void edit(Button pd)throws Exception;
	
	/**分页列表
	 * @param page
	 * @throws Exception
	 */
	public List<Button> list(Button button)throws Exception;
	
	/**列表(全部)
	 * @param pd
	 * @throws Exception
	 */
	public List<Button> listAll()throws Exception;
	
	/**通过id获取数据
	 * @param pd
	 * @throws Exception
	 */
	public Button findById(String fhbuttonId)throws Exception;
	
	
	
	
}
